package com.data.center.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.data.center.dto.PersonDto;
import com.data.center.entity.Expert;
import com.data.center.entity.OrganizationTagRelationship;
import com.data.center.entity.Person;

import java.util.List;

public interface ExpertService extends IService<Expert> {
    List<Expert> findExpert(Person person);
    Expert addExpert(Person person);

    Expert forceAddExpert(Person person);
    List<Expert> searchByForeignKey(String id);
    int deleteByForeignKey(String id);
    int mergeByForeignKey(String id, String deletedId);
}
